Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Error While printing String using Pointer
Aruljothy Sundramoorthy
Dec 12 2017 2:46 PM
160
Reply
I'm getting an error while printing the string using pointer operation
Program code:
---------------------
#include<stdio.h>
#include<conio.h>
void main()
{
char v="Arul";
char *ptr;
clrscr();
*ptr=v;
printf("\n%s",*ptr);
printf("\nAddress:%p",ptr);
getch();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Finding Keycodes
How to track current location of mobile number??