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
What is 2 d array in c?
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4
What is structure of c program?
How can I write a function that takes a format string and a variable number of arguments?
When we use void main and int main?
Explain continue keyword in c
write a program in c language to print your bio-data on the screen by using functions.
6 Answers College School Exams Tests, IBM,
using for loop sum 2 number of any 4 digit number in c language
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
Output for following program using for loop only * * * * * * * * * * * * * * *
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
How many parameters should a function have?