I need a sort of an approximate strcmp routine?


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

Post New Answer

More C Interview Questions

two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.

5 Answers   Verifone,


consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value

4 Answers   TCS,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 Answers  


Can a pointer be null?

0 Answers  


write a program of bubble sort using pointer?

3 Answers   TCS,






Why static variable is used in c?

0 Answers  


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

0 Answers  


Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.

4 Answers   Ignou, TCS,


what is the difference between while and do while?

2 Answers  


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

0 Answers  


write program on arrays

3 Answers   GE, Polycab,


Categories