Can 'this' pointer by used in the constructor?
No Answer is Posted For this Question
Be the First to Post Answer
What is malloc and calloc?
C program to read the integer and calculate sum and average using single dimensional array
sum of two integers values only other then integer it should print invalid input.
Function calling procedures? and their differences? Why should one go for Call by Reference?
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
In header files whether functions are declared or defined?
Is it fine to write void main () or main () in c?
Explain what are linked list?
1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.
A MobileNumber is a VIP number if it satisfy the following conditions. 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 operator) mobileNum phone number operator mobile operator as bsnl, Vodafone
Can a binary search tree be used as an index? If yes, how? Explain
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;