| Other C Interview Questions |
|| Asked @
|What is the Difference between Macro and ordinary
|how to find sum of digits in C?
|difference between the array and linked list
general difference related to memory
|for questions 14,15,16,17 use the following
|2. What does static variable mean?
|program to get the remainder and quotant of given two
numbers with out using % and / operators?
|What is a class?
|What is the memory allocated by the following definition ?
|A MobileNumber is a VIP number if it satisfy the following
The operator should be Vodafone.
Atleast one 0 (Zero) should be exist in mobile number.
The number should not end with 8.
The single digit sum of all the digits in the number should
be equal to 9. For example if the number is 9876543210, the
sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9.
Write a method:
private boolean isVIPMobileNumber(String mobileNum, String
mobileNum phone number
operator mobile operator as bsnl, Vodafone
|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.
|What is the difference b/w Structure & Array?
|For more C Interview Questions Click Here |