Here is a neat trick for checking whether two strings are equal


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

Post New Answer

More C Interview Questions

Does c have function or method?

0 Answers  


What is string length in c?

0 Answers  


what is array?

63 Answers   Amdocs, HCL,


What are the different pointer models in c?

4 Answers  


#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?

4 Answers   Ramco,






2. Write a function called hms_to_secs() that takes three int values&#8212;for hours, minutes, and seconds&#8212;as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.

5 Answers   TCS,


program for reversing a selected line word by word when multiple lines are given without using strrev

0 Answers   IBM,


I need a sort of an approximate strcmp routine?

0 Answers  


Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;

7 Answers  


What is a pointer value and address in c?

0 Answers  


What is data types?

0 Answers  


How reliable are floating-point comparisons?

0 Answers  


Categories