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 (2248)
 C++ interview questions  C++ Interview Questions (1106)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (644)
Question
print ur name without using any semicolon in c/c++....
 Question Submitted By :: Bharghavi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 1
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
if(printf("vignesh s r "))
{
i=1;
}
getch();

}
 
Is This Answer Correct ?    68 Yes 46 No
Vignesh1988i
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 2
#include<stdio.h>
{
int i;
if(printf("bill gates"))
i=1;
}
 
Is This Answer Correct ?    20 Yes 47 No
Revathi Pawar
 
 
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 3
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
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 4
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
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 5
#include<stdio.h>
#include<conio.h>
void main()
{
scanf("%s",printf("sushma"));
}
 
Is This Answer Correct ?    5 Yes 41 No
Sushma Rai
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 6
#include<stdio.h>
main()
{ while(!printf("vinay"))
{
}}
 
Is This Answer Correct ?    17 Yes 6 No
Vinay
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 7
#include<stdio.h>
main()
{if(printf("shubhankar"))
}
 
Is This Answer Correct ?    10 Yes 17 No
Shubhankar Sisodia
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 8
#include<stdio.h>
main()
{if(printf("ravi"))
}
 
Is This Answer Correct ?    9 Yes 14 No
Ravi Pandey
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 9
#include<stdio.h>
void main()
{
int i=1;
if(printf("Prabha"))
{
i++;
}
getch();
}
 
Is This Answer Correct ?    7 Yes 16 No
Gprabha
 
  Re: print ur name without using any semicolon in c/c++....
Answer
# 10
#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
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }   1
do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's? Oracle 1
yogesh patil in dell DELL 3
Write a C program to get the desired output. 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 . . . 1 n..............n 1 Note: n is a positive integer entered by the user.   3
Please list all the unary and binary operators in C.   3
write a prgram of swapping with 2 valiables   6
WHAT IS PRE POSSESSORS? TATA 5
# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none TCS 6
write a program to fined second smallest and largest element in a given series of elements (without sorting) Yahoo 9
is forign key will be unique key any table or not?   2
10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning Accenture 5
int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ? Tcs 3
 
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