What is the description for syntax errors?
When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
what is the difference between global variable & static variable declared out side all the function in the file.
What is the Purpose of 'extern' keyword in a function declaration?
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
shorting algorithmS
Explain indirection?
code for selection sort?
How can I find the day of the week given the date?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
What is context in c?