Category: C
String Upper: #include<iostream> #include<string> #include<cstdio> using namespace std; void upper_string(char st[]); int main(){ char str[100]; cout<<“Enter string:…
Hackerrank problem: #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main()…
A good example of pointer code at Hacker Rank: #include <stdio.h> void update(int *a,int *b) { //…
http://stackoverflow.com/questions/8004237/how-do-i-properly-compare-strings-in-c
A ll Codes, C, C++
Reference: https://www.daniweb.com/programming/software-development/threads/201233/use-of-flag-in-c
code: #include<stdio.h> #include<stdlib.h> int main(){ char line[]=”1 -2 10000 -50 20 7 445 -4″; char *p,*e; long…
Recent Comments