2.main
{
int x,j,k;
j=k=6;x=2;
x=j*k;
printf("%d", x);

Answer Posted / pallavi

pgm is wrong coz, main ws supposed to hav () and } is
missing at the end

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 'bus error'?

545


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

656


If you know then define #pragma?

662


Explain what is wrong in this statement?

620


What is the newline escape sequence?

571






What is the heap in c?

627


Why is c so powerful?

667


Explain how can you avoid including a header more than once?

585


What are the 4 types of functions?

559


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.

2633


What are pointers? What are different types of pointers?

614


Write a program to print "hello world" without using a semicolon?

585


What are derived data types in c?

598


Explain what is the difference between #include and #include 'file' ?

569


What does %d do?

702