How does sizeof know array size?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

When should the const modifier be used?

0 Answers  


Is reference used in C?

1 Answers  


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

0 Answers  


write a program to arrange the contents of a 1D array in ascending order

4 Answers  


What are the advantages of c language?

0 Answers  






#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


What is scope of variable in c?

0 Answers  


Explain how can you avoid including a header more than once?

0 Answers  


Predict the output or error(s) for the following: 25. main() { printf("%p",main); }

3 Answers   Google, ME,


Explain what are preprocessor directives?

0 Answers  


int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?

14 Answers   Verifone,


how would a 4*3 array A[4][3] stored in Row Major Order?

0 Answers   HCL, Ignou,


Categories