c program to print a name without using semicolon
Answer Posted / nirbhay gupta
#define $ ;
main()
{
printf("i am Nirbhay Gupta")$
printf("right")$
}
| Is This Answer Correct ? | 5 Yes | 18 No |
Post New Answer View All Answers
What is || operator and how does it function in a program?
What are identifiers and keywords in c?
What is the use of ?
What is a memory leak? How to avoid it?
What does c mean in standard form?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
How do you generate random numbers in C?
What is substring in c?
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.
Write a code to generate divisors of an integer?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What is c language and why we use it?
What is the difference between exit() and _exit() function in c?
Explain built-in function?