To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.
4 8431Which of the following sorts is quickest when sorting the following set: 1 2 3 5 4 1) Quick Sort 2) Bubble Sort 3) Merge Sort
7 14993Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack
3 12353Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1
6 17844True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type
7 14709Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work
2 12246void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case
9 16631if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')
23 74623Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
1 6369
What is struct node in c?
When should the const modifier be used?
c program for searching a student details among 10 student details
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Define recursion in c.
What is malloc return c?
What is the difference between array and pointer in c?
What is structure and union in c?
How can you check to see whether a symbol is defined?
What is cohesion and coupling in c?
how to make a scientific calculater ?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What is the collection of communication lines and routers called?
What is the description for syntax errors?