Elearning , Interview Questions And Answers

Google

28. when pointers declared initialized to : a. null b.newly allocated memory c)nothing,its random d)none of the above ans:c 29. what is the output of the following code? #include<stdio.h> void main() { printf("%d",printf(" hello world ")); } a) 13, b) hello world 13, c) hello world, d) error ANS:b 30. what is the output of the following code, assuming that the array begins at location 5364875? #include<stdio.h> void main() { int a[2][3][4]={ {2,1,4,3,6,5,8,7,0,9,2,2} {1,2,3,4,5,6,7,8,9,0,1,2} }; printf("%u %u %u %u",a,*a,**a,***a); } a) 5364875,5364876,5364877,5364878 b) 5364875,5364876,5364877,2 c) 5364875,5364875,5364876,5364876 d) 5364875,5364875,5364875,2 ANS:d 31. are null statements in c null pointers. 32. is cinst int *p same as int const* p find similar words beaker:chalice formulas:constituents time and work problem. CARITOR SERVICES INDIA PVT LIMITED


Hosted by www.Geocities.ws

1