Explain what is the difference between declaring a variable and defining a variable?
Answer / ss
Declaring variable means
Eg- int a;
Defining variable means we are giving some integer value to that a variable
Eg- a=100;
| Is This Answer Correct ? | 0 Yes | 0 No |
how to go with this?
Write a program in c to print 1 121 12321 1234321 123454321
11 Answers ANR, College School Exams Tests, Mu Sigma, Wipro,
application of static variables in real time
What is function pointer and where we will use it
disadvantages of realloc ?
# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none
What are the similarities between c and c++?
can we print any string without using terminator?
What is C++
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
All technical questions
How do we open a binary file in Read/Write mode in C?