What is the difference between declaring a variable by
constant keyword and #define ing that variable?
Answer / ganesh
constant- it cannot be changed
# define - it can be changed if we can redefine
| Is This Answer Correct ? | 2 Yes | 0 No |
a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All
write a C code to reverse a string using a recursive function, without swapping or using an extra memory.
9 Answers Motorola, TCS, Wipro,
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What is the difference between strcpy() and memcpy() function in c programming?
write a reverse string to print a stars.(with out using logic) ***** **** *** ** *
. Write a program to get a string and to convert the 1st letter of it to uppercase
What is the difference b/w main() in C language and main() in C++.
How do you access command-line arguments?
What is the difference between Printf(..) and sprint(...) ?
What is default value of global variable in c?
What is extern c used for?