Differentiate between Macro and ordinary definition.


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

Post New Answer

More C Interview Questions

struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

0 Answers  


#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?

4 Answers   Ramco,


How can I list all of the predefined identifiers?

0 Answers  


program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.

3 Answers  


What are the 4 types of unions?

0 Answers  






How can I read a directory in a c program?

1 Answers   CSC,


Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

0 Answers  


User define function contain thier own address or not.

2 Answers  


Explain how do you convert strings to numbers in c?

0 Answers  


Program to simulate second clock

2 Answers  


How can a string be converted to a number?

0 Answers  


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

0 Answers   HCL,


Categories