What is the return type of Instr and Strcmp?

Answers were Sorted based on User's Feedback



What is the return type of Instr and Strcmp?..

Answer / guest

Instr ? integer (Numeric position)
Strcmp - integer
( if both the string are equal they result = 0)
Strcmp (Str1, Str2, Comparetype)
Comparing mode = 0 ? Binary Comparing
1 ? Textual Comparing

Is This Answer Correct ?    5 Yes 0 No

What is the return type of Instr and Strcmp?..

Answer / cherran

?instr(1,"cherralathan","t")
9
?strcomp("aaa","aaa")
0
?strcomp("bbb","ccc")
-1
?strcomp("ccc","bbb")
1

Is This Answer Correct ?    6 Yes 2 No

What is the return type of Instr and Strcmp?..

Answer / khadeer.k

for instr return type is int;
for strcmp return type is void;

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More Visual Basic Interview Questions

How would you use ActiveX Dll and ActiveX Exe in your application?

0 Answers  


How would you view html code in Active Server Pages?

1 Answers  


how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?

0 Answers  


Difference between Dynaset and Snapshot?

0 Answers  


What is the Advantage of ActiveX Dll over Active Exe?

1 Answers  






What does Query_unload event do in VB? Why we need Form _unload event?

3 Answers  


How to get Cursor position using API?

2 Answers  


When should we use recursive programming?

0 Answers  


How would you view html code in Active Server Pages?

1 Answers  


How many File System Controls are there ? Explain.

0 Answers  


How to register a component?

1 Answers  


Does VB support pointers to functions?

0 Answers  


Categories