#include<stdio.h>
void main()
{
char *str;
long unsigned int add;
str="Hello C";
add=&str[0];
printf("%c",add);
}
What is the output?
Answer Posted / manish122
Error:- Non Portable Pointer Conversion.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
what do the 'c' and 'v' in argc and argv stand for?
What are the types of macro formats?
Why do we use header files in c?
What are the disadvantages of a shell structure?
Explain what header files do I need in order to define the standard library functions I use?
What are the advantages and disadvantages of c language?
Explain the difference between the local variable and global variable in c?
What is difference between Structure and Unions?
What are loops in c?
What are multibyte characters?
Explain how do you print only part of a string?
What is pragma c?
What is data type long in c?
What is the difference between printf and scanf )?