#define MAX 3
main()
{
printf("MAX = %d
",MAX );
#undef MAX
#ifdef MAX
printf("Vector Institute”);
#endif
}
How can I pad a string to a known length?
Which one would you prefer - a macro or a function?
Explain goto?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it
What is the difference between getch() and getche()?
What does main () mean in c?
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?
if array a conatins 'n' elements and array b conatins 'n-1' elements.array b has all element which are present in array a but one element is missing in array b. find that element.
18 Answers Parexel, Ram Infotech, Zycus Infotech,
Can anyone tell what is stack overflow? what precaution we should take?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Why is c so powerful?
C,c++, Java is all are structural oriented or procedure oriented language..?