#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
What is a structure and why it is used?
Why is c not oop?
Why do we use stdio h and conio h?
Write a code to remove duplicates in a string.
Why double pointer is used in c?
What is character set?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is a structural principle?
What language is lisp written in?
program to convert a integer to string in c language'
Subtract Two Number Without Using Subtraction Operator
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
shorting algorithmS
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f