What is the difference between a string and an array?


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

Post New Answer

More C Interview Questions

Write a programe print the sum of series 0,1,2,.....10

7 Answers  


What is a pointer and how it is initialized?

0 Answers  


#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?

2 Answers  


Which is better between malloc and calloc?

0 Answers  


Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work

2 Answers  






What is difference between scanf and gets?

0 Answers  


In c programming language, how many parameters can be passed to a function ?

0 Answers  


What is include directive in c?

0 Answers  


for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable

2 Answers  


write a programe returns the number of times the character appears in the string

2 Answers  


Is the exit() function same as the return statement? Explain.

0 Answers   Agilent, ZS Associates,


How to reverse a string using a recursive function, without swapping or using an extra memory?

31 Answers   Cisco, Mind Tree, Motorola, Ophio, Sony, TCS, Wipro,


Categories