print ur name without using any semicolon in c/c++....

Answers were Sorted based on User's Feedback



print ur name without using any semicolon in c/c++......

Answer / madhu

This is the correct answer,
Question is without using semicolon,

#include<stdio.h>
int main()
{
if(printf("Madhu"))
{
}
}

Is This Answer Correct ?    87 Yes 12 No

print ur name without using any semicolon in c/c++......

Answer / vignesh1988i

#include<stdio.h>
#include<conio.h>
void main()
{
int i;
if(printf("vignesh s r "))
{
i=1;
}
getch();

}

Is This Answer Correct ?    72 Yes 47 No

print ur name without using any semicolon in c/c++......

Answer / amit mishra

#include<stdio.h>
void main()
{
if (clrscr())
if(printf("\n Asheesh sharma"))
{
}

if(printf("\n Asha sharma"))
{
}
if(printf("\n Amit mishra"))
{
}
if(printf("\n Ankit mishra"))
{
}
if(getch())
{
}


}

Is This Answer Correct ?    19 Yes 2 No

print ur name without using any semicolon in c/c++......

Answer / vinay

#include<stdio.h>
main()
{ while(!printf("vinay"))
{
}}

Is This Answer Correct ?    17 Yes 6 No

print ur name without using any semicolon in c/c++......

Answer / harendra kumar

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

Is This Answer Correct ?    10 Yes 0 No

print ur name without using any semicolon in c/c++......

Answer / deepjoy das

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

Is This Answer Correct ?    7 Yes 0 No

print ur name without using any semicolon in c/c++......

Answer / vidya

#include<stdio.h>
int main()
{
switch(printf("vidya"))
{
}
}

Is This Answer Correct ?    4 Yes 0 No

print ur name without using any semicolon in c/c++......

Answer / kumutha

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

Is This Answer Correct ?    4 Yes 3 No

print ur name without using any semicolon in c/c++......

Answer / bony islam laskar

check it out........ur search is ovr.

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

Is This Answer Correct ?    34 Yes 34 No

print ur name without using any semicolon in c/c++......

Answer / manish kumar

#include<stdio.h>
#include<conio.h>
int main()
{
while(printf("manish")&&getch())
{
}
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

#include<stdio.h> int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?

7 Answers   Intel,


wht is the difference between KPO and BPO ?

2 Answers   Accenture, BPO, HCK, HCL, Infosys,


Calculate 1*2*3*____*n using recursive function??

0 Answers  


write a c prog for removing duplicate character from an array and sorting remaining elements using a single array

1 Answers  


Why do we write return 0 in c?

0 Answers  






main() { int i=5; printf("%d%d%d%d",i++,i--,i); }

10 Answers  


Write a program to reverse a string.

0 Answers   Global Logic, iNautix, TCS, Wipro,


Explain can the sizeof operator be used to tell the size of an array passed to a function?

0 Answers  


a C prog to swap 2 no.s without using variables just an array?

5 Answers   TCS,


How many keywords (reserve words) are in c?

0 Answers  


How many types of linked lists what are they? How many types of data structures?

18 Answers   BSNL, Pivotal Software,


what are the various memory handling mechanisms in C ?

4 Answers   HP,


Categories