Profile cover photo
Profile photo
Rajat Garg
80 followers
80 followers
About
Rajat Garg's interests
View all
Rajat Garg's posts

Post has attachment
Stack vs Heap Memory in c++
If you read any programming language book, it will explain that value types or the variables are created either on the stack or heap. This sentence is partly true because there are certain rules which define that whether a variable should be created on stac...

Post has attachment

Post has attachment
Bitwise Operator in C
/*  * Program 14  * Demonstration of All Bitwise Operators  */  public class Prgm_14{      void Demo(){          //1. Bitwise NOT Operator ~          int x=12;          x=~x;          System.out.println(x);          /Here, we will get -13 i.e. ((no+1)-1) ...

Post has attachment

Post has attachment
Increment and Decrement operators in C
Hi, We all knows
about increment and decrement operators and their working, but when we get any
complex problem on them which includes 5-6 increment/decrement operators then
we get confused. Here I am telling you the easiest way to calculate any
increment/d...

Post has attachment
Wait while more posts are being loaded