the maximum length of a character constant can be

a) 1 character

b) 8 characters

c) 256 chaacters

d) 125 characters



the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 cha..

Answer / Amitesh Kumar Singh

a) 1 character

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is a pointer in c?

4 Answers  


Can I initialize unions?

1 Answers  


What are type modifiers in c?

1 Answers  


6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture,


read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50

4 Answers   TCS,


using only #include <stdio.h> and #include <stdlib.h> 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.

1 Answers  


What does #pragma once mean?

1 Answers   Celstream,


What are the two types of structure?

1 Answers  


Find occurence of a character in a sting.

3 Answers   TCS,


what is a stack

6 Answers  


Find if a number is power of two or not?

1 Answers  


Why clrscr is used in c?

1 Answers  


Categories