will the program compile? int i; scanf(“%d”,i); printf(“%d”,i);
Answer Posted / girish
it gives the garbage value of that perticular element.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is hashing in c?
How can I recover the file name given an open stream or file descriptor?
What is indirection in c?
Can we use visual studio for c?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
Which of these functions is safer to use : fgets(), gets()? Why?
Explain what will the preprocessor do for a program?
Explain #pragma statements.
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Write a factorial program using C.
write 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 []);
What is the difference between c &c++?
What is scope and lifetime of a variable in c?
What is main function in c?
What is the purpose of clrscr () printf () and getch ()?