What are the output(s) for the following ?
#include
char *f()
{char *s=malloc(8);
strcpy(s,"goodbye")}
main()
{
char *f();
printf("%c",*f()='A');
}
How can variables be characterized?
What is macro?
how can we Declare a variable in c without defining it.
is it possible to change the default calling convention in c ?
How to access or modify the const variable in c ?
16 Answers HCL, HP,
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
When is a null pointer used?
What is string in c language?
IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
pierrot's divisor program using c or c++ code
What's a "sequence point"?