Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program
5 10227char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)
7 14452write a C code to reverse a string using a recursive function, without swapping or using an extra memory.
9 43122two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.
5 9153C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
6 24047int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
10 17649What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.
5 21986
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What does it mean when the linker says that _end is undefined?
Why we write conio h in c?
What is a stream water?
#include
what is the role you expect in software industry?
List some of the static data structures in C?
How many types of operator or there in c?
Explain how can I convert a number to a string?
What is the benefit of using #define to declare a constant?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Is using exit() the same as using return?
Is there a way to compare two structure variables?