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
No Answer is Posted For this Question
Be the First to Post Answer
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What are unions in c?
What is the purpose of the fflush() function in C?
Give me basis knowledge of c , c++...
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
Explain the difference between structs and unions in c?
Write the syntax and purpose of a switch statement in C.
Do you know the use of 'auto' keyword?
please send me the code for multiplying sparse matrix using c
What is the difference between near, far and huge pointers?
Explain #pragma statements.
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);