What is the benefit of using an enum rather than a #define constant?
No Answer is Posted For this Question
Be the First to Post Answer
Explain #pragma in C.
Diff between for loop and while loop?
When is the “void” keyword used in a function?
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(); }
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.
How is actual parameter different from the formal parameter?
What are the three constants used in c?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
what is use of loop?
number of times a digit is present in a number
What are the main characteristics of c language describe the structure of ac program?
What are the 5 types of inheritance in c ++?