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 is the difference between int main and void main in c?

0 Answers  


Explain goto?

0 Answers  


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

0 Answers  


What is string concatenation in c?

0 Answers  


n=7623 { temp=n/10; result=temp*10+ result; n=n/10 }

7 Answers   Wipro,






what is unsigened char and what is the difference from char

2 Answers  


What is the Purpose of 'extern' keyword in a function declaration?

0 Answers  


why we wont use '&' sing in aceesing the string using scanf

0 Answers   HCL,


Why is c so important?

0 Answers  


what is the difference between getch() and getchar()?

10 Answers   Huawei, Infosys,


How can you check to see whether a symbol is defined?

0 Answers  


What are the ways to a null pointer can use in c programming language?

0 Answers  


Categories