How can you print HELLO WORLD without using "semicolon"?
Answers were Sorted based on User's Feedback
Answer / gganesh
#include<stdio.h>
void main()
{
if(printf("Hello world"))
{
}
}
Is This Answer Correct ? | 30 Yes | 8 No |
Answer / vinita khandavi
#include(stdio.h)
// Develped by vinita
void main()
{
if(printf("Hello world"))
{
}
}
Is This Answer Correct ? | 32 Yes | 17 No |
Answer / anuj shukla
#include<stdio.h>
void main()
{
if(printf("helloworld"))
{
}
}
Is This Answer Correct ? | 17 Yes | 6 No |
Answer / prakash
#include<stdio.h>
#include<conio.h>
void main()
{
if(printf(hello world))
{
getch();
}
}
Is This Answer Correct ? | 12 Yes | 9 No |
Answer / m.manivel
#include<stdio.h>
int main()
{
switch(printf("hello world!))
return 0;
}
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / spicy
#include<stdio.h>
void main()
{
if(printf("HELLO WORLD"))
getch();
}
Is This Answer Correct ? | 3 Yes | 6 No |
Answer / sivasankari
#include <stdio.h>
#define WEE puts( "Hello World!" );
int main( int argc, char * argv[] ) {
WEE
}
Is This Answer Correct ? | 0 Yes | 3 No |
Explain c preprocessor?
What are header files and explain what are its uses in c programming?
#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20
Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(ā%cā, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.
1 Answers BladeLogic, Infosys,
What does %2f mean in c?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
Where are some collections of useful code fragments and examples?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
1 1 12 21 123 321 12344231 how i creat it with for loop??
What is the difference between array and linked list in c?