-
Memory Stack or Heap
Which type of memory(stack or heap)is used by static and external variables?
-
-
What's the best way to declare and define global variables
What's the best way to declare and define global variables and functions?
-
Difference between reference and pointer?
What is difference between reference and pointer or pass by reference and pass by pointer?
-
Find the binary form
Write a program to find the binary form for the given charcter input.eg:- for 'A' ASCII value is 65 and its binary form is 1000001.
-
-
-
}
">Main(){ int i, j, *p; i = 25; j = 100; p = &i; // Address of i is assigned to pointer p printf("%f", i/(*p) ); // i is divided by pointer p}
A) Compile errorB) 1.00000C) Runtime error.D) 0.00000Explanation: Error because i/(*p) is 25/25 i.e 1 which is int & printed as a float, so abnormal program termination, runs if (float) i/(*p) -----> Type Casting.
-
-
Read and Sort 30 integers into One Dimension Array
Write a C programme that read 30 integer numbers into one dimension array then using a function to sort them in desinding order (this function should use another function to exchange any two elements int the array) after that print desorted elements?
-
-
Platform Independent IPC Methods
Which IPC methods are Platform independent?
-
-
End of File
What is the significance of EOF?
-
-
Execute C Program
How will you execute a file from another C program through C programming without system command?
-
Link List
What is Link list? What is purpose of link list in programming.
-
Srand() and rand() Functions
Explain srand() and rand() Functions
-
-
C Interview Questions
Ans