Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C program to demonstrate Pointer to string:
void main()
{
int a;
char str[]="hello how are you?",*ptr_str;
ptr_str=&str[0];
a=strlen(str);
for(int i=0; i { printf("%c",*ptr_str); ptr_str++; } } Output:
printf("%c",*ptr_str);
ptr_str++;
}
Output:
drawbacks in assignments in engeenirng
What if one forget the [] when deleteing array allocated through new T[n]? A: All life comes to a disastrous end. It is the programmer's responsibility not the compiler's to
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
#include stdio.h> #include conio.h> #include ctype.h> #include string.h> void main() { int i=0,j=0,length; char a[30]; cl
in this problem u given a board in which some of the elements are placed as shown in diagram below .each element represent a color .fill the other elements in the board such that n
A: A reference has to always refer to some object and, so, must always be initialized; pointers do not have such limits. A pointer may be reassigned to point to distinct objects wh
solution of problem based on poiter
TO CONVERT A NUMBER OR A DIGIT INTO ALPHABET
Program is to append the contents of one file to another: void main() { clrscr(); fstream file1,file2; char st1[13],st2[13];/* 13 because a filename canno
Need assignment help What's the order that local objects are destructed?
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd