Differentiate between Macro and ordinary definition.
No Answer is Posted For this Question
Be the First to Post Answer
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
#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?
How can I list all of the predefined identifiers?
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.
What are the 4 types of unions?
How can I read a directory in a c program?
Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer
User define function contain thier own address or not.
Explain how do you convert strings to numbers in c?
Program to simulate second clock
How can a string be converted to a number?
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.