what is the output of the below program & why ?
#include<stdio.h>
void main()
{
int a=10,b=20,c=30;
printf("%d",scanf("%d%d%d",&a,&b,&c));
}

Answer Posted / selvam

this program contain no error and it will not give any output...

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a routine to implement the polymarker function

4576


write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??

4381


Sir... please give some important coding questions asked by product companies..

2016


how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns

3340


What is full form of PEPSI

2116






why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2494


write a simple calculator c program to perform addition, subtraction, mul and div.

3381


What is data _null_? ,Explain with code when u need to use it in data step programming ?

3008


Cluster head selection in Wireless Sensor Network using C programming language.

3370


How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?

2248


How to palindrom string in c language?

9764


write a program for area of circumference of shapes

2223


Develop a routine to reflect an object about an arbitrarily selected plane

3270


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

2883


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

4066