Social Icons

Monday, December 10, 2012

C LANGUAGE PAPERS CONTINUATION

72.   How would you use the functions randomize() and random()?
73.   What do the functions atoi(), itoa() and gcvt() do?
74.   How would you use the functions fseek(), freed(), fwrite() and ftell()?
75.   What is the difference between the functions memmove() and memcpy()?
76.   What is a file ?
77.    What are the types of file?
78.   What is a stream ?
79.   What is meant by file opening ?
81.   What is a file pointer ?
82.   How is fopen()used ?
83.   How is a file closed ?
84.   What is a random access file ?
85.   What is the purpose of ftell ?
86.   What is the purpose of rewind() ?
87.   Difference between a array name and a pointer variable ?
88.   Represent a two-dimensional array using pointer ?
89.   Difference between an array of pointers and a pointer to an array ?
90.   Can we use any name in place of argv and argc as command line arguments ?
91.   What are the pointer declarations used in C?
92.   Differentiate between a constant pointer and pointer to a constant ?
93.   Is the allocated space within a function automatically deallocated when the function returns?
94.   Discuss on pointer arithmetic?
95.   What are the invalid pointer arithmetic ?
96.   What are the advantages of using array of pointers to string instead of an array of strings?
97.   Are the expressions *ptr ++ and ++ *ptr same ?
98.   What would be the equivalent pointer expression foe referring the same element as a[p][q][r][s] ?
99.   Are the variables argc and argv are always local to main ?
100. Can main () be called recursively?
101. Can we initialize unions?
102. What’s the difference between these two declarations?
103. Why doesn't this code: a[i] = i++; work?
104. Why doesn't struct x { ... };x thestruct; work?
105. Why can't we compare structures?
106. How are structure passing and returning implemented? 

No comments:

Post a Comment