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
Does c have function or method?
What is string length in c?
what is array?
What are the different pointer models in c?
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?
2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—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.
program for reversing a selected line word by word when multiple lines are given without using strrev
I need a sort of an approximate strcmp routine?
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
What is a pointer value and address in c?
What is data types?
How reliable are floating-point comparisons?