-
What is a void pointer?
A void pointer is a C convention for “a raw address.” The compiler has no idea what type of object a void Pointer “really points to.” If you write int *ip; ip points to an int. If you write void *p; p doesn’t point to a void! In C and C++, any time you need a void pointer, you can use another pointer type. For example, if you have a char*, you can pass it to a function that expects a void*. You don’t...
-
Declare an array of N pointers
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
-
-
-
-
How to write simple C Calender program ?
Should return the week of the date
-
C Armstrong Number and multiple coding questions
Q1. write a program to find a given number is armstrong number or not ?Q2write a program which accepts a filename as a command line argument and reverse the contents of the file(i.e first character becomes the last character of the file and so on ?Q3 how can i call a function given its name as a string ?Q4 How to swap low-order byte and high order byte in an integer without using temporary variable?Q5...
-
-
-
-
Constant Variable Value
How will you change the value of a constant variable in C?
Volatile Variables
Where does the variables with volatile keyword, gets stored??
How to compile a C Compiler
During developing of c language, they need to develop compiler for it,c compiler itself is written in c ok... then how did they compiled c compiler.....???????
Storage Clssses and Memory Organization
What are storage classes? Explain its memory organization?
Differences between Arrays and Linked lists
What are the differences between Arrays and Linked lists and why we go for linked lists if we have pointers to arrays?
Printing a statement without using semi colon
How to swap two numbers without using temporary variable?
Ans