210 likes | 958 Views
Question Bank. Question Bank. Explain the syntax of if else statement? Define Union Define global and local variables with example Concept of recursion with example Difference between call by reference and call by value Write a note on Dynamic memory allocation in C
E N D
Question Bank • Explain the syntax of if else statement? • Define Union • Define global and local variables with example • Concept of recursion with example • Difference between call by reference and call by value • Write a note on Dynamic memory allocation in C • Explain command line argument • Write a note on built in functions in c • Explain control statements in structure in C • Write a ‘struct’ definition and define an array of such structures
Question Bank • What are the different string handling functions in C • Write a note on Macro • Write a program to add two numbers using pointers • What is C-tokens and types • Explain the difference between while loop and do while loop in C • How to initialize an array with example • Define structure • What are functions, what are the different forms of functions
Question Bank • What are the bitwise operators in C? • Main() is a user defined function, how does it differ from user defined functions • What is a file pointer, what are the options available in fopen() • Explain any 4 keywords and its meanings • Write two declarations in C, one representing an array of pointers and other representing pointer to an array • Write a function that takes a string as an argument, return its length as output
Question Bank • How can a function return a pointer to its calling routine? • Explain how the address of elements of an array can be obtained? • Explain bitwise AND operator, X=13, Y=25. What is the value of Z=X AND Y? • Explain the uses of bitwise AND, OR and NOT with example • Write a note on files and different file handling functions in C • Write a program to copy the content of one file to another?