What functions are used in dynamic memory allocation in c?
No Answer is Posted For this Question
Be the First to Post Answer
Explain modulus operator. What are the restrictions of a modulus operator?
what are the files which are automatically opened when a c file is executed?
Explain how can I manipulate strings of multibyte characters?
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
WRITE A PROGRAM TO FIND A REVERSE OF TWO NO
find largest of 3 no
how to compare two strings without using strcmp() function??
What is the use of #define preprocessor in c?
what is call by value and call by reference
what is c?
What is nested structure with example?
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.