c language interview questions & answer
what is the stackpointer
Write a c program to print the even numbers followed by odd numbers in an array without using additional array
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............
multiple of 9 without useing +,* oprator
Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)ferror() A)ii B)i,ii C)iii D)iv
what is difference between declaring the pointer as int and char in c language?
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
class foo { public: static int func(const char*& p) const; }; This is illegal, why?
What are c identifiers?
What is the difference between variable declaration and variable definition in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What is c++ used for today?