main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs?
Post New Answer View All Answers
What is enumerated data type in c?
Why we use conio h in c?
What is #include called?
In C language what is a 'dangling pointer'?
difference between native and cross compilers
Do pointers need to be initialized?
How we can insert comments in a c program?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
How will you write a code for accessing the length of an array without assigning it to another variable?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
The file stdio.h, what does it contain?
What do header files do?
How can I automatically locate a programs configuration files in the same directory as the executable?
What is calloc() function?
What is string in c language?