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

what is a function method?give example?

1 Answers  


Is r written in c?

1 Answers  


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1 Answers  


What is the advantage of c?

1 Answers  


what is array?

63 Answers   Amdocs, HCL,


Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program

5 Answers   Mascot,


int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]

6 Answers   Hughes,


how to TOGGLE Nth bit of variable in a MACRO

1 Answers   NDS,


User define function contain thier own address or not.

2 Answers  


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1 Answers  


How pointer is benefit for design a data structure algorithm?

2 Answers  


What is a lvalue

1 Answers   Global Logic,


Categories