//Add 2 number using pointer
#include<iostream>
using namespace std;
int main()
{
int a=2,b=4,*p1,*p2;
p1=&a;
p2=&b;
cout<<*p1+*p2;
}
#include<iostream>
using namespace std;
int main()
{
int a=2,b=4,*p1,*p2;
p1=&a;
p2=&b;
cout<<*p1+*p2;
}
armstrong number import java.util.Scanner; class Mittu { public static void main(String []args) { Scanner s=new Sca...
No comments:
Post a Comment