write a c program to print "Welcome" without using semicolon
in the whole program ??

Answers were Sorted based on User's Feedback



write a c program to print "Welcome" without using semicolon in the whole program ?? ..

Answer / manish soni bca 3rd year jaipu

while(printf("welcome"))
{
}


it produce the infinite loop
so plz delete this logic.
or edit it with me

#include<stdio.h>
#include<conio.h>
void main()
{
while(printf("hello"))
getch();
}

Is This Answer Correct ?    5 Yes 6 No

write a c program to print "Welcome" without using semicolon in the whole program ?? ..

Answer / manikandan

while(printf("welcome"))
{
}

Is This Answer Correct ?    13 Yes 16 No

write a c program to print "Welcome" without using semicolon in the whole program ?? ..

Answer / kinjal gor

main()
{
CLRSCR();
if(printf("I LOVE MY INDIA"))
GETCH();
}

Is This Answer Correct ?    1 Yes 4 No

write a c program to print "Welcome" without using semicolon in the whole program ?? ..

Answer / upendra

main()
{
if(printf("welcome"))
}
}





]

Is This Answer Correct ?    0 Yes 5 No

write a c program to print "Welcome" without using semicolon in the whole program ?? ..

Answer / sagarsp2010

dont no the answer just send an request to me on following
email address :
sagarsp2010@gmail.com

Is This Answer Correct ?    7 Yes 13 No

Post New Answer

More C Interview Questions

What is string in c language?

0 Answers  


Should a function contain a return statement if it does not return a value?

0 Answers  


Why preprocessor should come before source code?

2 Answers  


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

0 Answers  


Explain the bubble sort algorithm.

0 Answers  






What are integer variable, floating-point variable and character variable?

0 Answers  


main() { int a = 65; printf(“%d %o %x”,a,a,a); } Output 65 101 41 Please explain me.How it is coming like that?

3 Answers   Excel,


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

0 Answers   Ignou,


which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

16 Answers   Accenture, Infosys, TCS, Wipro,


can we have joblib in a proc ?

0 Answers  


What is meant by type specifiers?

0 Answers  


C program to find all possible outcomes of a dice?

0 Answers  


Categories