Preview:
#include <stdio.h>
​
int main() {
  int myNum = 15;
  
  int myOtherNum = 23;
​
  // Assign the value of myOtherNum (23) to myNum
  myNum = myOtherNum;
​
  // myNum is now 23, instead of 15
  printf("%d", myNum);
  
  return 0;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter