What is the difference between specifying a constant variable
like with constant keyword and #define it? i.e what is the
difference between CONSTANT FLOAT A=1.25 and #define A 1.25
No Answer is Posted For this Question
Be the First to Post Answer
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How do you view the path?
can we print any string in c language without using semicolon(;)(terminator) in whole program.
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What is #include in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Explain what is the benefit of using #define to declare a constant?
write a program to print data of 5 five students with structures?
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,
Find if a number is power of two or not?
Does c have class?
Explain the concept and use of type void.