Answer Posted / chandan patel
absolutely no......
u can't do this....u can only declared and call a function
inside a function....
i m appealing to those people who r saying 'yes' that please
don't misguide other....if u don't know correct stuff.
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
How can you tell whether two strings are the same?
Explain the difference between strcpy() and memcpy() function?
Write a program with dynamically allocation of variable.
What is scope and lifetime of a variable in c?
Process by which one bit pattern in to another by bit wise operation is?
The __________ attribute is used to announce variables based on definitions of columns in a table?
Explain the priority queues?
What are different types of pointers?
What is an arrays?
How can I do peek and poke in c?
Can math operations be performed on a void pointer?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Distinguish between actual and formal arguments.
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?