I have one doubt.
What does below statement mean?
#define sizeof(operator)
where operator can be int or float etc.
Does this statement meaningful and where it can be used?
The following define overrides all the occurrences of sizeof and replaces by blank, there is no definition of sizeof on the right hand side of expression
#define sizeof(operator)
example
printf("val = %d", sizeof(int)); is made to look like
printf("val = %d", ); // replaced by blank, int not processed
// causes compilation error
| Is This Answer Correct ? | 0 Yes | 0 No |
WAP to find that given no is small or capital
What is string concatenation in c?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
Can you explain the four storage classes in C?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
Explain how do you list a file’s date and time?
What is the benefit of using an enum rather than a #define constant?
What is the OOPs concept?
Can the “if” function be used in comparing strings?
What extern c means?
why do we use pointer instead directly acessing the data?
How do you do dynamic memory allocation in C applications?