#include<stdio.h>
void main()
{
char *str;
long unsigned int add;
str="Hello C";
add=&str[0];
printf("%c",add);
}
What is the output?
Answers were Sorted based on User's Feedback
Answer / vinod kumar
warning: assignment makes integer from pointer without a cast
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / balakrishna
Non-Portable pointer assignment in function main
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / praveen
Error.Non-Portable pointer assignment in function main
| Is This Answer Correct ? | 0 Yes | 0 No |
Can static variables be declared in a header file?
what is the program to display your name in any color?
WHAT IS ABSTRACT DATA TYPE
explain about storage of union elements.
Define function pointers?
What are type modifiers in c?
how to print 2-D array using a single for loop?
2 Answers Mind Tree, TCS, Value Labs,
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?
Fifty minutes ago if it was four times as many mints past 3 o clock. how many minutes is it to six o'clock n how....?????
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.
Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;
18 Answers Accenture, Cisco, Egentec, HCL, Ideaz, Infosys, M-Systems, MYR, TCS,
Why is c used in embedded systems?