ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C
 
 


 

 
 C interview questions  C Interview Questions (2254)
 C++ interview questions  C++ Interview Questions (1111)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (646)
Question
print ur name without using any semicolon in c/c++....
 Question Submitted By :: C
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
This is the correct answer,
Question is without using semicolon,

#include<stdio.h>
int main()
{
if(printf("Madhu"))
{
}
}
 
Is This Answer Correct ?    79 Yes 11 No
Madhu
 
Answer
# 2
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
if(printf("vignesh s r "))
{
i=1;
}
getch();

}
 
Is This Answer Correct ?    70 Yes 46 No
Vignesh1988i
 
 
 
Answer
# 3
#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 ?    18 Yes 2 No
Amit Mishra
 
Answer
# 4
#include<stdio.h>
main()
{ while(!printf("vinay"))
{
}}
 
Is This Answer Correct ?    17 Yes 6 No
Vinay
 
Answer
# 5
#include<stdio.h>
void main()
{
if(printf("harru"))
{
}
}
 
Is This Answer Correct ?    7 Yes 0 No
Harendra Kumar
 
Answer
# 6
#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("Deep"))
{
}
}
 
Is This Answer Correct ?    6 Yes 0 No
Deepjoy Das
 
Answer
# 7
#include<stdio.h>
int main()
{
switch(printf("vidya"))
{
}
}
 
Is This Answer Correct ?    3 Yes 0 No
Vidya
 
Answer
# 8
check it out........ur search is ovr.

#include<stdio.h>
void main()
{
if(printf("bony"))
}
 
Is This Answer Correct ?    34 Yes 34 No
Bony Islam Laskar
 
Answer
# 9
#include<stdio.h>
void main()
{
if(printf("kumutha"))
}
 
Is This Answer Correct ?    3 Yes 3 No
Kumutha
 
Answer
# 10
#include<stdio.h>
int main( )
{ if(printf("baba")
{
}
}
 
Is This Answer Correct ?    1 Yes 1 No
Baba Kancha
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
hat is a pointer? Assurgent 4
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145] Calsoft 6
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a   1
How can I find leaf node with smallest level in a binary tree?   1
what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }   1
how to find greatet of 10 numbers without using array?   4
What is meant by global static? why we have to use static variable instead of Global variable L&T 4
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p? Verifone 6
implement OR gate without using any bitwise operator. Alcatel 1
what are two kinds of java   2
inline function is there in c language?   4
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'   2
 
For more C Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com