Tell me when would you use a pointer to a function?
Given an unsigned integer, find if the number is power of 2?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Program to trim a given character from a string.
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??
Explain the meaning of keyword 'extern' in a function declaration.
What are directives in c?
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
Explain how are portions of a program disabled in demo versions?
How do you prevent buffer overflows in C?
get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement