write c program without semicolon

Answer Posted / rockabhi

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

Is This Answer Correct ?    38 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

836


Is it cc or c in a letter?

765


What is the purpose of realloc()?

889


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1018


What is a substring in c?

798


Differentiate between #include<...> and #include '...'

816


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2895


how should functions be apportioned among source files?

872


Does c have enums?

790


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2287


What is equivalent to ++i+++j?

863


How can I change the size of the dynamically allocated array?

895


What is the g value paradox?

860


Can you add pointers together? Why would you?

882


How can I read data from data files with particular formats?

822