What are comments and how do you insert it in a C program?


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

Post New Answer

More C Interview Questions

What is a floating point in c?

0 Answers  


What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 Answers   IBM,


if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')

23 Answers  


How to add two numbers with using function?

4 Answers  


What does & mean in scanf?

0 Answers  






Why double pointer is used in c?

0 Answers  


Do you know the difference between malloc() and calloc() function?

0 Answers  


What is the equivalent code of the following statement in WHILE LOOP format?

0 Answers  


In which header file is the null macro defined?

0 Answers  


What is a function in c?

0 Answers  


where do we use structure pointer?

1 Answers  


What do you mean by Recursion Function?

0 Answers   Hexaware,


Categories