What is nested structure with example?


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

Post New Answer

More C Interview Questions

Why cant I open a file by its explicit path?

0 Answers  


Explain what is the difference between a string and an array?

0 Answers  


Explain the properties of union.

0 Answers  


What is structure of c program?

0 Answers  


what is the structure pointer?

0 Answers   Accenture, HCL,






a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21

4 Answers   TCS,


Explain about C function prototype?

0 Answers  


Write a routine that prints out a 2-D array in spiral order!

1 Answers   Lucent,


what is difference between null and nul in c language

2 Answers  


What is || operator and how does it function in a program?

0 Answers  


void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..

1 Answers  


#include <stdio.h> int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..

3 Answers  


Categories