Interview Questions on C Programs
41 / 123
No Discussion on this question yet!
42 / 123
No Discussion on this question yet!
43 / 123
No Discussion on this question yet!
44 / 123
a[i] is written as *(a+i)
a[i][j] is written as *(*(a+i)+j)
so
a[i][j][k][l]=*(*(*(*(a+i)+j)+k)+l)
45 / 123
No Discussion on this question yet!
46 / 123
int *(*p[10])(char *, char *);
No Discussion on this question yet!
47 / 123
sizeof(a) /sizeof(char *)
in a code snippet:
char *a[4]={"sridhar","raghava","shashi","srikanth"};
No Discussion on this question yet!
48 / 123
char *str = "Hello";
char arr[] = "Hello";
No Discussion on this question yet!
49 / 123
arr++;
*(arr + 1) = 's';
printf("%s",arr);
No Discussion on this question yet!
50 / 123
No Discussion on this question yet!
Frequently asked Interview Questions on C Programs at Freshers and experience level. All Question are based on the real time experience of previous candidates. You can search and filter the question set by company name from the tag cloud.
Q4I Collection of C Programming Interview Questions and Answers with Explanations asked in campus/off-campus interviews, walk-in interview and various IT companies Interview at Freshers & Experienced level. Multiply your selection chance by practicing the C Interview Question from basic to Standard, or by going through Company specific pattern of question asked from C Programming.
So, next time, when you prepare for a company's interview, please check your knowledge against these C language technical interview questions and answers.