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 (2266)
 C++ interview questions  C++ Interview Questions (1121)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (652)
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 ?    82 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 ?    71 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 ?    19 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 ?    9 Yes 0 No
Harendra Kumar
 
Answer
# 6
#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("Deep"))
{
}
}
 
Is This Answer Correct ?    7 Yes 0 No
Deepjoy Das
 
Answer
# 7
#include<stdio.h>
int main()
{
switch(printf("vidya"))
{
}
}
 
Is This Answer Correct ?    4 Yes 0 No
Vidya
 
Answer
# 8
#include<stdio.h>
void main()
{
if(printf("kumutha"))
}
 
Is This Answer Correct ?    4 Yes 3 No
Kumutha
 
Answer
# 9
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
# 10
#include<iostream.h>
void main()
{
if(cout<<RAJITHA){}
}
 
Is This Answer Correct ?    0 Yes 0 No
G.rajitha
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
write a program to copy a string without using a string?   2
difference between memcpy and strcpy   1
c programming of binary addition of two binary numbers   3
program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5 Infosys 8
What should be keep precautions while using the recursion method?   1
which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none Trident 7
find a number whether it is even or odd without using any control structures and relational operators? Microsoft 22
Given an array of numbers, except for one number all the others occur twice. Give an algorithm to find that number which occurs only once in the array.   6
1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.   2
Write a routine that prints out a 2-D array in spiral order! Lucent 1
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Google 8
differentiate between const char *a; char *const a; and char const *a; HCL 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