mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
23 lines
358 B
C++
23 lines
358 B
C++
/*
|
|
# https://winlin.blog.csdn.net/article/details/109356535
|
|
g++ frame0.cpp -g -O0 -o frame && ./frame
|
|
*/
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int callee(int a, long b) {
|
|
int c = a;
|
|
c += (int)b;
|
|
return c;
|
|
}
|
|
void caller() {
|
|
int v = callee(10, 20);
|
|
printf("v=%d\n", v);
|
|
}
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
caller();
|
|
return 0;
|
|
}
|
|
|