What is the purpose of macro in C language?


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

Post New Answer

More C Interview Questions

Give the rules for variable declaration?

0 Answers  


What is meant by operator precedence?

0 Answers  


main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.

1 Answers   Cisco,


write a program which counts a product of array elements lower than 10.

1 Answers  


What is the purpose of void pointer?

0 Answers  






What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }

4 Answers   CTS, Oracle,


How can I get the current date or time of day in a c program?

0 Answers  


Describe wild pointers in c?

0 Answers  


If I want to initialize the array like. int a[5] = {0}; then it gives me all element 0. but if i give int a[5] = {5}; then 5 0 0 0 0 is ans. what will I do for all element 5 5 5 5 5 in a single statement???

3 Answers   Amdocs, IBM,


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

0 Answers   Infosys,


For what purpose null pointer used?

0 Answers  


How can I change the size of the dynamically allocated array?

0 Answers  


Categories