Define macros.
No Answer is Posted For this Question
Be the First to Post Answer
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
If I have a char * variable pointing to the name of a function ..
A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B A A B C C B A A B B A A A
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(); }
Explain what is the best way to comment out a section of code that contains comments?
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,
Write a program to print fibonacci series without using recursion?
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
how to swap four numbers without using fifth variable?
what is the use of #pragma pack, wer it is used?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
what does ‘#include’ mean?