IOT Virtual Conference - Register now to book your ticket and get updates
x
CONGRATULATIONS! C# Corner Q1, 2021 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forumguidelines
Aruljothy Sundaramoorthy
1.6k
311
25.6k
Error While printing String using Pointer
Dec 12 2017 2:46 PM
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();
}
Reply
Answers (
1
)
Finding Keycodes
How to track current location of mobile number??