1#include <stdio.h>
2static int var = 5;
3int main() {
4 printf(format: "%p is %d\n", &var, var);
5 return ++var;
6}
7

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of lldb/test/API/linux/add-symbols/main.c