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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a program which returns the first non repetitive character in the string?

0 Answers   Expedia,


Explain a pre-processor and its advantages.

0 Answers  


What is the real difference between arrays and pointers?

27 Answers   Hexaware, Logic Pro, TCS,


write the program for prime numbers?

73 Answers   Accenture, Aptech, Infosys, TCS,


what is available in C language but not in C++?

10 Answers   CTS, TCS,






there is two conditions , 1. while using for loop for printing 1 to 50 no's simulteneous 2. while using printf functios for printing 1 to 50 no's simulteneous with or without using variables who will take more time for compiling and execution? explain in details with reason?

1 Answers  


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

0 Answers  


Do you know the purpose of 'register' keyword?

0 Answers  


Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?

3 Answers   HCL, TCS,


Why isnt there a numbered, multi-level break statement to break out

0 Answers  


What is structure padding in c?

0 Answers  


How can I find out how much memory is available?

1 Answers   Persistent,


Categories