How to compare array with pointer in c?
Do character constants represent numerical values?
write a program to reverse the words in the sentence.NOTE:not reverse the entire string but just the occurance of each word
main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }
where do we use volatile keyword?
2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
Write a function in c to find the area of a triangle whose length of three sides is given.
What does printf does?
When should a type cast be used?
What are valid operations on pointers?
provide an example of the Group by clause, when would you use this clause
Write a C program to multiply tho numbers without using arithmetic operator (+, -, *, /).