can we print any string in c language without using
semicolon(;)(terminator) in whole program.

Answer Posted / nitish_bhasin

#include<stdio.h>
void main()
{
if(printf("Hello")){}
}

Is This Answer Correct ?    54 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between calloc and malloc.

741


What is bubble sort in c?

625


please give me some tips for the placement in the TCS.

1622


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

734


How can I convert a number to a string?

596






What happens if header file is included twice?

640


How reliable are floating-point comparisons?

619


Between macros and functions,which is better to use and why?

1561


the question is that what you have been doing all these periods (one year gap)

1610


Write a code to generate a series where the next element is the sum of last k terms.

719


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

699


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

969


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

601


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1719


How can I recover the file name given an open stream?

543