Skip to main content

Posts

Showing posts from October, 2018

Pointer -hackerrank (challenges writeup)

Pointer -hackerrank (challenges writeup)  Pointer https://www.hackerrank.com/challenges/c-tutorial-pointer/problem #include<iostream> using namespace std; void func(int *z,int *f) {    int aa = *z;    *z = *z + *f;    *f = aa- *f;       if(*f < 0)*f *= -1;    } int main() {     int a, b;     int *pa = &a, *pb = &b;     cin >> a>> b;     func(pa,pb);     cout <<a<<endl;     cout<< b; }

MODERN ABC+ ebook part-1 (DOWNLOAD)

for part-2 or for good quality contact at twitter- https://twitter.com/AdityaRoCk34 LINK PART 1 ----  https: //drive.google.com/file/d/1v02QrW1tyq8v_W_enu92sZdFVG-kNg0w/view?usp=sharing