hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
2426#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 47628void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }
5 31013/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
1 3999Post New CDAC Interview Questions
Who Are Resident But Not Ordinary Resident?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is list?
What is a Global Container?
What is an anonymous block?
What is PHP? Who is the father or inventor of PHP?
Do most games run on linux?
What is the condition required for dead lock in unix system?
What is hyperlink? Why it is used?
What is the default value of decimal in c#?
What is session scope in spring?
What methods are fired during the page load? Init()
What is javascript in simple terms?
what are the direct expense of loan department in banks.
What is read uncmmited?