What are the advantages of using macro in c language?
Answer / Sukhvindar Kaur
"Macros in C provide several advantages such as they can perform simple calculations at compile-time, reduce code duplication, and increase programming efficiency. They also offer a way to define conditional compilation statements."
| Is This Answer Correct ? | 0 Yes | 0 No |
How does selection sort work in c?
how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--);
how to multiply two number taking input as a string (considering sum and carry )
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is %d used for?
When c language was developed?
What is null pointer constant?
What is the difference between #include <header file> and #include “header file”?
What is the correct declaration of main?
What is the stack in c?