What is the advantage of using #define to declare a constant?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is the use of extern in c?

0 Answers  


What is the output from this program? #include <stdio.h> void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }

3 Answers  


What is the difference between int main and void main?

0 Answers  


how to implement stack work as a queue?

2 Answers  


main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }

2 Answers   Vector, Vector India,






write a c program to find largest of three numbers using simple if only for one time.

1 Answers  


What is main function in c?

0 Answers  


What is calloc()?

0 Answers   Adobe,


What is void c?

0 Answers  


3. When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

0 Answers   Accenture,


Explain what is wrong with this program statement?

0 Answers  


What will be the outcome of the following conditional statement if the value of variable s is 10?

0 Answers  


Categories