Can the “if” function be used in comparing strings?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Why is c called "mother" language?

0 Answers  


# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none

7 Answers   Microsoft, TCS,


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

0 Answers  


What are the key features in c programming language?

0 Answers  


What is a char c?

0 Answers  


What is the code for 3 questions and answer check in VisualBasic.Net?

0 Answers   Infosys,


what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these

2 Answers   IBM,


const char * char * const What is the differnce between the above tow?.

6 Answers   Ramco, TCS,


AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?

13 Answers   HCL,


What is the output for the following program #include<stdio.h> main() { char a[5][5],flag; a[0][0]='A'; flag=((a==*a)&&(*a==a[0])); printf("%d\n",flag); }

5 Answers   ADITI, Wipro,


how to set Nth bit of variable by using MACRO

3 Answers   HCL,


What math functions are available for integers? For floating point?

0 Answers  


Categories