#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 |
Explain what are the different data types in c?
Explain what are its uses in c programming?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database
2 Answers TCS, Unisys, Webyog,
what r the cpu registers r ther?
Explain what is the difference between the expression '++a' and 'a++'?
Is null a keyword in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is string function c?
what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.
Can you add pointers together? Why would you?
What is pass by reference in functions?