write c program without semicolon

Answer Posted / saurabh rakhecha

int main()
{
if (printf(" Hello"))
{
// EMPTY
}
}

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

931


Explain what standard functions are available to manipulate strings?

841


What is a global variable in c?

796


How can I delete a file?

852


What are header files? What are their uses?

857


What is the difference between null pointer and wild pointer?

939


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1776


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

924


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

2105


What are the three constants used in c?

754


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

1054


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1202


What are variables c?

830


How can I do serial ("comm") port I/O?

942


What is the argument of a function in c?

808