How can I remove the trailing spaces from a string?
No Answer is Posted For this Question
Be the First to Post Answer
f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(ā%d\nā,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none
Are there constructors in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Explain about the functions strcat() and strcmp()?
what is the difference between #include<stdio.h> and #include "stdio.h" ?
what is the difference between c and java?
There is a number and when the last digit is moved to its first position the resultant number will be 50% higher than the original number.Find the number?
How to write a C program to determine the smallest among three nos using conditional operator?
What is "Hungarian Notation"?
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?