int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?
Answers were Sorted based on User's Feedback
given the piece of code int a[50]; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a[5] c.pa[5] d.*(*pa + 5)
Why we use break in c?
I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.
what is the difference between normal variables and pointer variables..............
15 Answers HP, Infosys, Satyam, Vivekanand Education Society,
write a program to reverse the words in the sentence.NOTE:not reverse the entire string but just the occurance of each word
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
what is a function prototype?
Write 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 10 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.
write a programming in c language, 1 3 5 7 9 11
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?
How to receive strings with spaces in scanf()
Explain how do you determine a file’s attributes?