-
C Pyramid Program
1
1 2 2
1 2 2 3 3
1 2 2 3 3 4 4
how to create this pyramid using c -
What is the difference between declaring a variable and defining a variable?
Declaring a variable means describing its type to the compiler but not allocating any space for it. Defining a variable means declaring it and also allocating space to hold the variable. You can also initialize a variable at the time it is defined.
-
-
-
-
-
-
-
-
-
-
-
-
-
Datatypes Justify Output
#includevoid main(){ float a=0.7; if(a
-
Where is the function declared as static stored in memory?
The usage of static with a function or variable restricts their scope.Is this behaviour memory related?
-
Fflush() argument in ANSI C
Identify the correct argument for the function call fflush() in ANSI C:A)stdoutB)stdinC)stderrD)All the above
-
Increment Operator
Explain why p++ is faster than p+1?
-
Find address of variable
How to find the address of a variable which is declared as long double?
-
Difference between reference and pointer?
What is difference between reference and pointer or pass by reference and pass by pointer?
C Interview Questions
Ans