What is scope and lifetime of a variable in c?


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

Post New Answer

More C Interview Questions

Explain threaded binary trees?

0 Answers  


What is nested structure with example?

0 Answers  


In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT

1 Answers   IBM,


Can we assign string to char pointer?

0 Answers  


In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  






Tell me when would you use a pointer to a function?

0 Answers  


Difference between strcpy() and memcpy() function?

0 Answers  


What are advantages and disadvantages of recursive calling ?

12 Answers   College School Exams Tests, Evolving Systems, HP, Jyoti Ltd, Sage, Wipro,


What is the concatenation operator?

0 Answers  


What is wrong with this program statement? void = 10;

0 Answers  


What is the 'named constructor idiom'?

0 Answers  


What is C language ?

0 Answers   Jekson,


Categories