Elearning , Interview Questions And Answers

Google


C Test:
1. How will u print TATA alone from TATA POWER using string copy and concate commands in C? 2. If switch(n) case 1:printf("CASE !"); case(2):printf("default"); break;
What will be printed?
9. How will u divide two numbers in a MACRO? int a,b; 1.main() 2.{ 3.scanf("............",&a,&b); 4.if...........{ 5.printf("Print A"); 6.else 7.Printf("..........."); 8.endif} 9.......... A.What will come in the 9 dash? B.What will happen if we replace Print A as Print X? C.What will come in the 3 dash? D.What will happen if we interchange 4 and 7? E.What will come in the 4 dash? The first one was about 36 questions-20 mins: There were different symbols and various inputs and outputs across the symbols & analyzing the input & output, we have to figure out what each symbol does. There would be a set of 4 questions based on these symbols. eg. LMN--> XY-->| | | | | PQRS--->@----------------->$---->PQSRR | | | | |-->LNM |--->XYY