main()

{

printf("%d", out);

}

int out=100;

Answer Posted / susie

Answer :

Compiler error: undefined symbol out in function main.

Explanation:

The rule is that a variable is available for use from the
point of declaration. Even though a is a global variable, it
is not available for main. Hence an error.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to palindrom string in c language?

9295


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

1929


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

3260


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

3881


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

2974






write a program for area of circumference of shapes

2134


Write a program to model an exploding firecracker in the xy plane using a particle system

3783


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

1186


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

3965


To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

613


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2441


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

3237


What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql

2521


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

3232


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

2130