Program:
#include <iostream.h>
int main()
{
char *nz;
nz="hello";
cout << nz << "\n";
return 0;
}
char *nz;
nz="hello";
isnt this also assign r-value to l-value?
Program:
#include <iostream.h>
int main()
{
char *nz;
nz="hello";
cout << nz << "\n";
return 0;
}
char *nz;
nz="hello";
isnt this also assign r-value to l-value?