Do variables need to be initialized?


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

Post New Answer

More C Interview Questions

Difference between Shallow copy and Deep copy?

0 Answers  


What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

5 Answers   Amazon, Qualcomm,


What is the difference b/w Structure & Class?

3 Answers  


What are run-time errors?

0 Answers  


Difference between MAC vs. IP Addressing

0 Answers  






What is array of structure in c?

0 Answers  


int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(ā€œ%dā€,*(*(x+1)+3));

2 Answers   Wipro,


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

0 Answers  


for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????

7 Answers  


What is the size of structure in c?

0 Answers  


How can I remove the trailing spaces from a string?

0 Answers   Aspire,


what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }

1 Answers  


Categories