void main()

{

int i;

char a[]="\0";

if(printf("%s\n",a))

printf("Ok here \n");

else

printf("Forget it\n");

}

Answer Posted / rahul bagale

Ans :Forget it

Explation:

'' is a char with value 0 in C++ and an int with the value 0 in C.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2858


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

3107


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

1067


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

2994


why nlogn is the lower limit of any sort algorithm?

2373






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

3845


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

2820


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

1793


What is full form of PEPSI

1865


Write a routine to implement the polymarker function

4375


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

2405


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.

2681


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2136


How to palindrom string in c language?

8836


could you please send the program code for multiplying sparse matrix in c????

3067