Explain can the sizeof operator be used to tell the size of an array passed to a function?
#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 Answers CDAC, GATE, NDS, TCS,
Can the sizeof operator be used to tell the size of an array passed to a function?
Software Interview Questions
Explain what are compound statements?
Why is main function so important?
main() { int i; printf("%d",i^i); }
Is fortran faster than c?
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
What are type modifiers in c?
input may any number except 1,output will always 1.. conditions only one variable should be declare,don't use operators,expressions,array,structure
How many levels deep can include files be nested?
Explain 'far' and 'near' pointers in c.