write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
IBM,
2199how to print the character with maximum occurence and print that number of occurence too in a string given ?
2419write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
1960why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
1921what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }
6 8321Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 5 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
1 4908main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }
2 3867#include
IIIT,
4 11051write a c program to find reminder and quotient if one number is divided by other.to code this program don't use more than 2 variables
TCS,
2 6095write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
TCS,
2310
What do you mean by invalid pointer arithmetic?
How do you define structure?
What is scanf () in c?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Tell us something about keyword 'auto'.
Explain the advantages of using macro in c language?
What is the purpose of sprintf?
Does free set pointer to null?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Why c language is called c?
where are auto variables stored? What are the characteristics of an auto variable?
Why is c so popular?
Is malloc memset faster than calloc?
what is the structure pointer?