write a c program to print "Welcome" without using semicolon
in the whole program ??

Answer Posted / hari

main()
{
if(printf("Welcome"))
{}
}

for further queries and discussions, just check these out !!!

http://forum.campusmaniac.com/
http://www.campusmaniac.com/

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to swap two numbers without using third variable?

1027


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3916


What is the hardest programming language?

894


What is wrong with this declaration?

820


How can I implement sets or arrays of bits?

794


Can you apply link and association interchangeably?

880


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9896


What is the size of enum in bytes?

772


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

843


Give differences between - new and malloc() , delete and free() ?

823


Write a program to implement queue.

851


Why array is used in c?

743


What is the value of c?

755


What are the types of pointers?

770


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

6228