To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.
4 9783Which 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 16670Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack
3 13714Evaluate 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 20327True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type
7 16416Which 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 13073void 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 18831if 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 80736Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
1 6945
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
Mention four important string handling functions in c languages .
Explain Basic concepts of C language?
How can I convert a number to a string?
What is difference between function overloading and operator overloading?
Do pointers take up memory?
What is meant by preprocessor in c?
how could explain about job profile
what are the facialities provided by you after the selection of the student.
given post order,in order construct the corresponding binary tree
Can a pointer be volatile in c?
What is use of bit field?
Which is better malloc or calloc?
What is %d used for?
Write a code to generate divisors of an integer?