#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 null in c?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is "Duff's Device"?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
Write a program to use switch statement.
How to compare array with pointer in c?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is a buffer in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is difference between structure and union?
What is main () in c language?
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
What are the advantages of using Unions?
What is the difference between scanf and fscanf?
Why do we use header files in c?