ALLInterview.com :: Home Page KalAajKal.com
 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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
write a “Hello World” program in “c” without using a semicolon?
 Question Submitted By :: A. Sujatha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: write a “Hello World” program in “c” without using a semicolon?
Answer
# 1
sir, i can not give the answer of this question.
 
Is This Answer Correct ?    0 Yes 1 No
Prashant
 
  Re: write a “Hello World” program in “c” without using a semicolon?
Answer
# 2
int main()
{
  if(printf("hello world"))
}

For if statement compiler does not expect semi colon.
 
Is This Answer Correct ?    6 Yes 3 No
Rajeev
 
 
 
  Re: write a “Hello World” program in “c” without using a semicolon?
Answer
# 3
int main(){
    if(printf("Hello World")){}
}
 
Is This Answer Correct ?    1 Yes 0 No
Bitan
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................  7
What is the diffences between Windows XP and Windows Visa Aricent1
which operator having highest precedence? a.)+ b.)++ c.)= d.)%  3
WAP – represent a char in binary format Motorola4
Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?  1
Give me basis knowledge of c , c++...  4
Which command is more efficient? *(ptr+1) or ptr[1]  3
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=? Geometric-Software6
Dear Sir, we are required the bubble sorting programs Regs Prem  1
6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod() Accenture1
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....  2
program to find the roots of a quardratic equation  1
how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk. Google3
What is Heap?  3
What's a "sequence point"?  2
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); } Motorola1
WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS  4
const char * char * const What is the differnce between the above tow?. TCS5
What are the different pointer models in c?  3
program for validity of triangle from 3 side  6
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com