Category: ACM
http://dharanyadevi.blogspot.com/2012/04/palindrome-in-c-without-using-string.html
String Upper: #include<iostream> #include<string> #include<cstdio> using namespace std; void upper_string(char st[]); int main(){ char str[100]; cout<<“Enter string:…
Vector Codes: #include<iostream> #include<cstdio> #include<vector> using namespace std; int main(){ vector<int> v; v.push_back(1); v.push_back(2); v.push_back(3); v.push_back(4); for(int…
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) { //…
strcmp in c/c++ issues is the hard part nothing else…Just try to learn this đ Logical condition…
Recent Comments