main()
{
char *p = "hello world";
p[0] = 'H';
printf("%s", p);
}
a. Runtime error.
b. “Hello world”
c. Compile error
d. “hello world”
Answer Posted / vijayanand yadav ("appu s
compile time error,
because of the semi colon present in the variable char *p="hello world";p[0]='H';here in this example the semi colon is just replaced with a , operator....
Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
Write a program to model an exploding firecracker in the xy plane using a particle system
How can you relate the function with the structure? Explain with an appropriate example.
Cluster head selection in Wireless Sensor Network using C programming language.
Sir... please give some important coding questions asked by product companies..
How to palindrom string in c language?
how to test pierrot divisor
Write a routine to implement the polymarker function
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
What is data _null_? ,Explain with code when u need to use it in data step programming ?
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?