Explain how can a program be made to print the line number where an error occurs?
What is meant by preprocessor in c?
why we need function pointers?
write a program to display the array elements in reverse order in c language
What is the most efficient way to count the number of bits which are set in an integer?
write a program to sort the elements in a given array in c language
how is the examination pattern?
Explain what happens if you free a pointer twice?
What is volatile, register definition in C
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database
2 Answers TCS, Unisys, Webyog,
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?