How will you write a code for accessing the length of an array without assigning it to another variable?


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

Post New Answer

More C Interview Questions

How to convert decimal to binary in C using recursion??

4 Answers   HP, IBM,


2. What does static variable mean?

2 Answers  


Why c is called object oriented language?

0 Answers  


What is Function Pointer? Explain with example?

3 Answers  


#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }

3 Answers   IBM,






What is the value of a[3] if integer a[] = {5,4,3,2,1}?

0 Answers  


Can a pointer be null?

0 Answers  


What is the purpose of sprintf?

0 Answers  


pgm to find middle element of linklist(in efficent manner)

4 Answers   Huawei,


Tell us something about keyword 'auto'.

0 Answers  


what will be printed by this printf? printf("%c",printf("hi")["sharkselva"])); }

3 Answers   HCL,


What does s c mean in text?

0 Answers  


Categories