a c variable cannot start with
a) an alphabet
b) a number
c) a special symbol
d) both b and c above
No Answer is Posted For this Question
Be the First to Post Answer
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What is the most efficient way to count the number of bits which are set in a value?
How can you print HELLO WORLD without using "semicolon"?
What are categories used for in c?
What is static identifier?
develop algorithms to add polynomials (i) in one variable
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
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.
A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
find largest of 3 no
write a program whose output will be- 1 12 123 1234