Is it valid to address one element beyond the end of an array?


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

Post New Answer

More C Interview Questions

Do you know the use of fflush() function?

0 Answers  


write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.

6 Answers  


How can I read a directory in a C program?

2 Answers   Bright Outdoor, Wipro,


how to set Nth bit of a variable?

1 Answers  


What are data breakpoints?

3 Answers   Adobe,






Differentiate between new and malloc(), delete and free() ?

0 Answers   iNautix,


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

0 Answers  


what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }

4 Answers  


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

0 Answers  


What is an lvalue?

0 Answers  


What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }

8 Answers   MindFire, TCS, Tech Mahindra,


What is use of pointer?

0 Answers  


Categories