What is the value of c?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the Difference between the New and Malloc keyword.
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Consider the following C program. #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain
How do you determine if a string is a palindrome?
how to print this sereis 2 4 3 6 5..........?
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 Answers AMCAT, HCL, Ramco, Zycus Infotech,
What are header files in c programming?
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?
what are the stoge class in C and tel the scope and life time of it?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;