Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is operator promotion?
A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above
What is the difference between exit() and _exit()?
WHO WROTE C LANGUAGE?
What is mean by data types in c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?
Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...
What is the scope of static variables?