Software Security Engineer Interview Questions | Glassdoor

Software Security Engineer Interview Questions


Software security engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

what is volatile, static ? how would it affect if the static keyword used for big array inside a function? what are sections of memory and what kind of variable is stored where?

3 Answers

if Volatile used then the compiler dont consider to optimize that variable . Assume that a variable changed at the time of running . But some compiler optimized .to avoid that we use volatile. Static is the keyword which is used to initialized to once that means extra burden for a compiler to keep the variable .and permanantly allocate space in stack.if you diclare static array then stack overflow will occur.

Just clarify one thing, the static variables within a function are not allocated to the function or thread's stack, instead, they are allocated to BSS area, just like other global variables. so it won't affect their function too much.

static variable is not stored on stack.

For the face to face interview, be prepared to be grilled on your basics. Relating to socket programming, TCP/IP concepts, security actions you would take in certain scenarios and firewalls.

1 Answer

Create a linked list in java that supported add and remove. Numbers are added in ascending order, so if the list was 1,3,5 and 4 was added it would look like 1,3,4,5.

1 Answer

Given a sorted array that can have both negative and positive integers, write an algorithm to sort the array of the squares of the integers. Optimize it.

110 of 30 Interview Questions