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 (2253)
 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
 
what is the maximum limit of row and column of a matrix in c programming. in linux . NIIT 4
Write a program in C to reverse a number by recursive function?   1
Explain the differences between public, protected, private and internal.   2
How do you initialize function pointers? Give an example?   3
how to generate sparse matrix in c   3
2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers. Nagarro 3
write a program for odd numbers?   15
pgm to reverse string using arrays i.e god is love becomes love is god) (assumption:only space is used for seperation of words) no addtional memory used.i.e no temporary arrays can used. Persistent 4
where do we use volatile keyword?   1
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?   2
#ifdef TRUE int I=0; #endif main() { int j=0; printf("%d %d\n",i,j); } ADITI 3
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