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

Post New Answer

More C Interview Questions

What does the c in ctime mean?

0 Answers  


2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }

1 Answers   Wipro,


How can I open files mentioned on the command line, and parse option flags?

0 Answers  


How to declare a variable?

0 Answers  


What is dangling pointer in c?

0 Answers  






What is the difference between text and binary i/o?

0 Answers  


What are extern variables in c?

0 Answers  


Write a program in c to print * * * * * *******

1 Answers  


How to removing white spces in c programming only bu using loops

2 Answers  


What is indirection in c?

0 Answers  


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

0 Answers  


How is a macro different from a function?

0 Answers   Tech Mahindra,


Categories