C interview questions – page 64
2,130 questions. Tap “Show answer” to check yourself.
-
Can static variables be declared in a header file?
-
When should a type cast be used?
-
Tell the difference between a string copy (strcpy) and a memory copy (memcpy)?
-
What do you mean by a static function?
-
What is the benefit of using const for declaring constants over #define?
-
Tell the way we can convert a number to a string?
-
How can you pass an array to a function by value?
-
What do you mean by dangling pointer in c?
-
What does a function named as PASCAL do differently?
-
Why does PASCAL matter? Is there any benefit to using PASCAL functions?
-
Is using exit() the same as using return?
-
Should a function contain a return statement if it does not return a value?
- Advertisement
-
In C,Tell the difference between a static variable and global variable?
-
Describe the meaning of prototype of a function?
-
Is it possible to execute code even after the program exits the main() function?
-
Explain wild pointer in c?
-
When would you use a pointer to a function?
-
Tell the difference between far pointer and near pointer ?
-
Can math operations be performed on a void pointer?
-
Tell the size of void pointer?
-
What is salary package?
-
Define a class?
-
Name types of inheritance supported in C++.
-
Tell the full form of OOPS?
- Advertisement
-
What is the role of protected access specifier?
-
What do you mean by inheritance?
-
Explain the purpose of the keyword volatile.
-
Explain abstraction?
-
What do you mean by an object?
-
Define an inline function?