-
-
Short int and int
What is the difference between short int and int?
-
What's the best way to declare and define global variables
What's the best way to declare and define global variables and functions?
-
-
Double Pointer
What is a Double Pointer? What are its specific uses.
-
Execute C Program
How will you execute a file from another C program through C programming without system command?
-
Return Multiple Values from Function
How to return multiple values in C language function?
-
Pointers
Why do we need different types of pointers when it occupies the same memory space for any type of pointers?
-
Source Code Output
Write a program which produces its own source code as its output?
-
Reverse String Stored in Pointer Array
Write a C program to reverse the strings stored in the following array of pointers to strings char *s[]={"To err is human..", "But to really mess things up", "One needs to learn C!!" };
-
Convert Integer to String
How will you convert an integer to a string without using itoa() function?
-
-
Print colors with printf
Is it possible to print colors with printf statements ?
-
-
Write a function reverse which takes a strings as a parameter and prints it out in reverse.
Example:reverse (hello) prints out (olleh)
Output of ++i + ++i + i + --i?
What will be the output of ++i + ++i + i + --i when i=5?
Compiler says output is 27. How?What is the benefit of using const for declaring constants?
The benefit of using the const keyword is that the compiler might be able to make optimizations based on the knowledge that the value of the variable will not change. In addition, the compiler will try to ensure that the values won’t be changed inadvertently. Of course, the same benefits apply to #defined constants. The reason to use const rather than #define to define a constant is that a const variable...
Are pointers integers?
No, pointers are not integers.A pointer is an address.It is merely a positive number and not an integer.
Ans