What is the output of the following program main();{printf
("chennai""superkings"};

a. Chennai

b. superkings

c. error

d. Chennai superkings

Answer Posted / steve booth

The character strings will be concatenated, but NO space will be inserted between the first and second. The correct answer is "chennaisuperkings".

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give basis knowledge of web designing ...

1567


Why is sizeof () an operator and not a function?

572


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2195


What are the advantages of c preprocessor?

704


How can I delete a file?

624






How do you declare a variable that will hold string values?

661


Explain how do you list files in a directory?

610


Difference between Shallow copy and Deep copy?

1562


Why we not create function inside function.

1742


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1304


What do you mean by dynamic memory allocation in c? What functions are used?

645


Is a house a mass structure?

635


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

678


How does #define work?

642


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2528